import { getDictComboList } from "@/api/dictionary.js";

export async function getDictOptions(code) {
  const res = await getDictComboList(code)
    .catch(err => {
      console.log("err", err);
    })
    .finally(() => {});
  if (res.code == 200) {
    return res.data;
  }
}
